
* balance table for socio-economic indicators

capture rm "$path_tables/socioeconomic_balance_algoanchor.tex"
texdoc init "$path_tables/socioeconomic_balance_algoanchor.tex"
tex \begin{tabular}{ L{8.5cm} C{1.7cm} C{1.7cm} C{1.7cm} C{1.7cm} } \hline \hline
tex  				&  Treated & Cash				& Labour  		& Waiver			\\ \hline

foreach var of global vars {
tex ${lab_`var'}	& ${`var'_c_t}		& ${`var'_c_cash}		& ${`var'_c_labour}		& ${`var'_c_waiver}		\\
tex 				& (${`var'_sd_t})	& (${`var'_sd_cash})	& (${`var'_sd_labour})	& (${`var'_sd_waiver})	\\
}
tex \hline 
tex Pvalue of F-test for joint significance	& ${joint_pvalue_treated} & ${joint_pvalue_cash}	& ${joint_pvalue_labour}& ${joint_pvalue_waiver} \\	
tex \hline \hline
tex \end{tabular} 
texdoc close
eststo clear
